package com.ruoyi.dmsIms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目接口对象 pro_interface
 * 
 * @author ZhangSiRui
 * @date 2021-12-09
 */
public class ProInterface extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 接口id */
    @Excel(name = "接口id")
    private Long id;

    /** 接口名称 */
    @Excel(name = "接口名称")
    private String interName;

    /** 接口编号 */
    @Excel(name = "接口编号")
    private String interCode;

    /** 接口类型 */
    @Excel(name = "接口类型")
    private String interType;

    /** 接口路径 */
    @Excel(name = "接口路径")
    private String interPath;

    /** 接口头参数 */
    @Excel(name = "接口头参数")
    private String interParamHeader;

    /** 接口体参数 */
    @Excel(name = "接口体参数")
    private String interParamBody;

    /** 预期结果 */
    private String interResult;

    /** 实际结果 */
    private String interRelResult;

    /** 接口所属项目 */
    private Long interOfpro;

    /** 接口状态 */
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInterName(String interName) 
    {
        this.interName = interName;
    }

    public String getInterName() 
    {
        return interName;
    }
    public void setInterCode(String interCode) 
    {
        this.interCode = interCode;
    }

    public String getInterCode() 
    {
        return interCode;
    }
    public void setInterType(String interType)
    {
        this.interType = interType;
    }

    public String getInterType()
    {
        return interType;
    }
    public void setInterPath(String interPath) 
    {
        this.interPath = interPath;
    }

    public String getInterPath() 
    {
        return interPath;
    }
    public void setInterParamHeader(String interParamHeader) 
    {
        this.interParamHeader = interParamHeader;
    }

    public String getInterParamHeader() 
    {
        return interParamHeader;
    }
    public void setInterParamBody(String interParamBody) 
    {
        this.interParamBody = interParamBody;
    }

    public String getInterParamBody() 
    {
        return interParamBody;
    }
    public void setInterResult(String interResult) 
    {
        this.interResult = interResult;
    }

    public String getInterResult() 
    {
        return interResult;
    }
    public void setInterRelResult(String interRelResult) 
    {
        this.interRelResult = interRelResult;
    }

    public String getInterRelResult() 
    {
        return interRelResult;
    }
    public void setInterOfpro(Long interOfpro) 
    {
        this.interOfpro = interOfpro;
    }

    public Long getInterOfpro() 
    {
        return interOfpro;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("interName", getInterName())
            .append("interCode", getInterCode())
            .append("interType", getInterType())
            .append("interPath", getInterPath())
            .append("interParamHeader", getInterParamHeader())
            .append("interParamBody", getInterParamBody())
            .append("interResult", getInterResult())
            .append("interRelResult", getInterRelResult())
            .append("interOfpro", getInterOfpro())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
